package com.zhucan.account.domain.service;

import com.zhucan.account.application.command.cmd.AccountTransferCommand;

/**
 * author: zhuCan
 * date: 2020/8/4 20:17
 * description:
 */
public interface AccountService {

  /**
   * 转账交易
   *
   * @param id
   * @param targetId
   * @param transferCommand
   */
  void transfer(Long id, Long targetId, AccountTransferCommand transferCommand);

  /**
   * 检查身份证号是否已注册
   *
   * @param identityCard
   */
  void checkIdentityCard(String identityCard);

}
